﻿#ifndef MEASURE_SIDE_H
#define MEASURE_SIDE_H

#include "halconcpp/HalconCpp.h"
using namespace HalconCpp;

struct M_S
{
    //换算比例
    float para1;
    //——————————————————————垂直方向
    //补偿值
    float para3;
    //标准值
    float para4;
    //上限值
    float para5;
    //下限值
    float para6;
    //粗定定位阈值
    float para7;
    //找边sigma
    float para8;
    //找边阈值
    float para9;
    //总体补偿
    float para2;
};
class Measure_Side
{
public:
    Measure_Side();
    //  1.高度
    int M_Side(HObject Img,HTuple &OutPara,HObject &OutImg);
	HTuple CameraParameters;//MetrologyHandle1, MetrologyHandle2, MetrologyHandle3;
	HObject Map;

public:
    //尺寸合格
    bool Flag1;
	bool Flag11;
    M_S m_part;

};

#endif // MEASURE_SIDE_H
